#include"DBLog.h"
#include"TxtLog.h"
#include"NetLogImpl.h"
#include"JavaLogImpl.h"
#include<iostream>
int main()
{
	LogImpl *pLogImpl = new NetLogImpl();
	Log *pLog = new TxtLog(pLogImpl);
	pLog->Write();

	delete pLog;
	delete pLogImpl;
	std::cin.get();
	return 0;
} 